<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'test.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>

	  <script language="javascript" type="text/javascript">
        $(function() {
            $("#txtInput").attr("value", "90");
            var v_temp = $("#lblMessage").text();
            //alert(v_temp);
            $("#txtInput01").attr("value", v_temp);
            $("#div1").removeClass("div1");
            $("#div1").addClass("divtest");
            var flog = $("#div1").hasClass("divtest");
            $("#div1").html("<input type='button' id='id123' style='width:100px; height:150px'>");
            var t01 = $("#table01 tr").length;
            alert(t01);
            $("#table01").find("td").each(function(i) {
                var t = $(this).text();
                alert(t);
            });


        });
</script>
 <form id="form1" runat="server">
    <div>
    <input type="text" id="txtInput" runat="server" style=" font:" />
    <br/>
    <br/>
    <input type="text" id="txtInput01" runat="server"  />
        <br />
       <input type="button" onclick="createXMLHttpRequest()" />
    </div>
     <table id="table01" border="1px"><tr>
    <td>11</td><td>11</td></tr>
    <tr><td>22</td><td>22</td></tr>
    <tr><td>33</td><td>33</td></tr>
    <tr><td>44</td><td>44</td></tr>
    <tr><td>55</td><td>55</td></tr></table>
    <div id="div1" class="div1">
   
    </div>
    </form>
</body>
</html>
